	.text
.globl main
	.type	main, @function
main:
	#gcc generated code
	pushl	%ebp
	movl	%esp, %ebp
	andl	$-16, %esp
	subl	$32, %esp
	movl	12(%ebp), %eax
	movl	%eax, 4(%esp)
	movl	8(%ebp), %eax
	movl	%eax, (%esp)
	call	dyld_main
	movl	%eax, 28(%esp)
	movl	28(%esp), %eax
	movl	%eax, (%esp)
	#leave
	
	


	#decrement argc
        mov %ebp,%ebx 
        addl $12,%ebx
        mov (%ebx),%edx
        subl $1,%edx
        mov %edx,(%ebx)

	pushl	$0		    # push a zero for debugger end of frames marker
	pushl	$0		    # push a zero for debugger end of frames marker
	pushl	$0		    # push a zero for debugger end of frames marker
	pushl	$0		    # push a zero for debugger end of frames marker
	
	jmp	*%eax		# jump to main in mach-o image



